body {
	background-color: aliceblue;
	user-select: none;
}

.content .main {
	width: 83%;
	margin-right: 1.3%;
	height: auto;
	background: #fff;
	float: right;
	margin-top: 3px;
	max-height: 900px;
	overflow: auto;
	border-radius: 5px;
	padding: 10px 10px 80px 20px;
	position: relative;
}

.top {
	margin-bottom: 20px;
}

.top .search {
	height: 2em;
	width: 20em;
	border: 1px solid #bababa;
	border-radius: 5px;
}

.top .add,.batch {
	height: 2em;
	width: 6em;
	color: #fff;
	background-color: #428aff;
	border: none;
	border-radius: 5px;
	float: right;
}
#batch3{
	background: #c82333 !important;
}
.rightButton{
	display: flex;
	width: 20rem;
	justify-content: space-evenly;
	position: relative;
	right: -14rem;
}
.content_table{
	max-height: 73.5vh;
	overflow: auto;
}
input {
	cursor: pointer;
}
table{
	border-collapse: collapse;
}
thead th {
	width: 10em;
	height: 40px;
	border-right:1px solid #ccc;
}

thead tr{
	background-color: #f5f5f5;
}

tbody td{
	text-align: center;
}
tbody tr{
	height: 4em;
}
tr{
	border-bottom: 1px solid #eaeaea;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.caozuo button{
	border:none;
	color: blue;
	background: #fff;
	margin-left: 9px;
	font-size:15px;
}
.caozuo .delete{
	color: red;!important;
}
button:hover {
	cursor: pointer;
}

/* 添加模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-content {
    padding: 20px;
    min-width: 300px;
}

.modal-content h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-cancel ,.batch-cancel {
    background: #f5f5f5;
    color: #666;
}

.modal-confirm ,.batch-confirm{
    background: #00aaff;
    color: white;
}
.top {
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.top .search {
	cursor: text; /* 设置鼠标为文本光标 */
	height: 2em;
	width: 20em;
	border: 1px solid #ccc;
	border-radius: 20px;
	padding: 0 15px;
	font-size: 14px;
	outline: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: border 0.3s, box-shadow 0.3s;
}

.top .search:focus {
	border-color: #428aff;
	box-shadow: 0 0 8px rgba(66, 138, 255, 0.4);
}

.top #searchbtn {
	height: 2em;
	width: 6em;
	background-color: #428aff;
	color: white;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s ease;
}

.top #searchbtn:hover {
	background-color: #336ab7;
}

.top #searchbtn:active {
	background-color: #28579a;
}

.top label {
	display: flex;
	align-items: center;
	gap: 10px;
}


.add_appoitment {
	width: 450px;
	max-height: 700px;
	display: none;
	position: absolute;
	top: 5%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #fff;
	padding: 2em;
	border-radius: 10px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
	z-index: 1001;
	overflow-y: auto;
}

.add_appoitment h2 {
	text-align: center;
	margin-bottom: 1em;
	font-size: 24px;
	color: #333;
}

.add_appoitment p {
	margin-bottom: 20px;
	font-size: 16px;
	color: #444;
}

.add_appoitment label {
	font-weight: bold;
	margin-bottom: 10px;
}
.add_appoitment .one {
	cursor: text;
}
.add_appoitment input[type="text"],
.add_appoitment input[type="tel"],
.add_appoitment select {
	width: 100%;
	height: 2.5em;
	padding: 5px 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	margin-bottom: 15px;
	transition: border 0.3s ease, box-shadow 0.3s ease;
}

.add_appoitment input[type="text"]:focus,
.add_appoitment input[type="tel"]:focus,
.add_appoitment select:focus {
	border-color: #428aff;
	box-shadow: 0 0 8px rgba(66, 138, 255, 0.4);
}

.add_appoitment .submit_app,
.add_appoitment .add_cancel {
	width: 45%;
	height: 2.5em;
	border: none;
	border-radius: 4px;
	color: white;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin: 10px 2.5%;
}

.submit_app {
	background-color: #428aff;
}

.add_cancel {
	background-color: #f5f5f5;
	color: #666;
	border: 1px solid #ccc;
}

.submit_app:hover {
	background-color: #336ab7;
}

.add_cancel:hover {
	background-color: #e0e0e0;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1000;
}

.overlay.active {
	display: block;
}

/* 模态框背景优化 */
.modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1001;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	max-width: 400px;
	width: 100%;
}

.modal-content h3 {
	color: #333;
	font-size: 18px;
	margin-bottom: 20px;
}

.modal-buttons {
	display: flex;
	justify-content: space-between;
}

.modal-buttons button {
	padding: 8px 16px;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
}

.modal-cancel,
.batch-cancel {
	background-color: #f5f5f5;
	color: #666;
}

.modal-confirm,
.batch-confirm {
	background-color: #00aaff;
	color: white;
}

.modal-cancel:hover,
.batch-cancel:hover {
	background-color: #ddd;
}

.modal-confirm:hover,
.batch-confirm:hover {
	background-color: #007bb5;
}
.batch{
	display: none;
}

